/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 相关接口
 * API related to order
 *
 * OpenAPI spec version: v2
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Order.Model
{

    /// <summary>
    ///  createOrderRequestObject
    /// </summary>
    public class CreateOrderRequestObject
    {

        ///<summary>
        /// 业务线
        ///</summary>
        public string AppCode{ get; set; }
        ///<summary>
        /// 可用区
        ///</summary>
        public string Az{ get; set; }
        ///<summary>
        /// 计费时长
        ///</summary>
        public int? ChargeDuration{ get; set; }
        ///<summary>
        /// 计费类型(CONFIG-按配置,FLOW-按用量MONTHLY-包年包月,ONCE-按次付费)
        ///</summary>
        public string ChargeMode{ get; set; }
        ///<summary>
        /// 计费时长单位（HOUR-小时,DAY-天,MONTH-月,YEAR-年）
        ///</summary>
        public string ChargeUnit{ get; set; }
        ///<summary>
        /// 自定义参数
        ///</summary>
        public string CustomInfo{ get; set; }
        ///<summary>
        /// 销售属性
        ///</summary>
        public List<ExtraInfo> ExtraInfo{ get; set; }
        ///<summary>
        /// 配置计费项
        ///</summary>
        public string Formula{ get; set; }
        ///<summary>
        /// 资源名称
        ///</summary>
        public string ItemName{ get; set; }
        ///<summary>
        /// 商品类型(COMMON_ITEM-普通商品,ACTIVITY_ITEM-活动商品)
        ///</summary>
        public string ItemType{ get; set; }
        ///<summary>
        /// 购买订单类型(NEW-新购,RENEW-续费，RESIZE_FORMULA-配置变更)
        ///</summary>
        public string OrderType{ get; set; }
        ///<summary>
        /// 付费类型(PRE_PAID-预付费,POST_PAID-后付费)
        ///</summary>
        public string PayType{ get; set; }
        ///<summary>
        /// 用户pin
        ///</summary>
        public string Pin{ get; set; }
        ///<summary>
        /// 促销明细
        ///</summary>
        public string PromotionInfo{ get; set; }
        ///<summary>
        /// 数量
        ///</summary>
        public int? Quantity{ get; set; }
        ///<summary>
        /// 资源地域
        ///</summary>
        public string Region{ get; set; }
        ///<summary>
        /// 资源id
        ///</summary>
        public string ResourceId{ get; set; }
        ///<summary>
        /// 支付成功后的回调地址(例如：//inf.jcloud.com)，如果需要自己提供回调地址则设置该字段，否则会回调到inf.jdcloud.com
        ///</summary>
        public string ReturnUrl{ get; set; }
        ///<summary>
        /// 销售属性
        ///</summary>
        public string SalesAttribute{ get; set; }
        ///<summary>
        /// 产品线
        ///</summary>
        public string ServiceCode{ get; set; }
        ///<summary>
        /// 服务商名称
        ///</summary>
        public string ServiceProviderName{ get; set; }
        ///<summary>
        /// 服务商pin
        ///</summary>
        public string ServiceProviderPin{ get; set; }
        ///<summary>
        /// 站点名称（MAIN_SITE-主站，INTERNATIONAL_SITE-国际站，SUQIAN_DEDICATED_CLOUD-宿迁专有云）
        ///</summary>
        public string SiteType{ get; set; }
        ///<summary>
        /// 下单唯一标识
        ///</summary>
        public string SourceId{ get; set; }
        ///<summary>
        /// 打包标识，打包在一起的产品用相同的taskId
        ///</summary>
        public string TaskId{ get; set; }
    }
}
